/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package SysAguas.visao;

import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.BevelBorder;
import javax.swing.plaf.IconUIResource;

/**
 *
 * @author Heitor
 */
public class PanelPrincipal extends JPanel implements ActionListener{

     private JPanel panelBotoes, panelImagem;
   //  private JButton buttonCriar, buttonConsultar;
     private JLabel picture;
    public PanelPrincipal() {


        panelBotoes = new JPanel();
        panelImagem = new JPanel();
/*
        buttonCriar = new JButton("Criar Reserva ");
        buttonCriar.addActionListener(this);
        
        buttonConsultar = new JButton("Consultar Reserva");
        buttonConsultar.addActionListener(this);
  */
        picture = new JLabel(new ImageIcon(getClass().getResource("/SysAguas/visao/sysaguas.jpg")) );
         
        
    }
    public void montarPanelPrincipal(){

        this.setLayout(new BorderLayout(50,50));
        panelImagem.setLayout(new BorderLayout(50,50));
    //    panelBotoes.setLayout(new FlowLayout(FlowLayout.LEFT, 20,10 ));
/*
        panelBotoes.add(buttonCriar);
        panelBotoes.add(buttonConsultar);
*/
      //  this.add(panelBotoes, BorderLayout.NORTH);
        

        
        picture.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
        panelImagem.add(picture,BorderLayout.CENTER);
        this.add(panelImagem, BorderLayout.CENTER);


    }

    /*public JButton getButtonConsultar() {
    return buttonConsultar;
    }

    public JButton getButtonCriar() {
    return buttonCriar;
    }*/
    public void actionPerformed(ActionEvent e) {

    }
    




}
